<?php

/**
 *
 *
 * @version $Id$
 * @copyright 2009
 */
require_once('Admin/AGestion.php');

class GestionArticles extends AGestion{

	public function __construct(){
		$this->table = 'article';
		parent::__construct();
	}

	public function add($dataPost){
		$data = array();
		$data['titre'] = $dataPost['titre'];
		$data['texte'] = $dataPost['texte'];
		$data['date'] = date('Y-m-d h:i:s');
		parent::add($data);
	}
}

?>